<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>@if($checkType === 'QICQ') QQ @else 微信 @endif域名检测 - 广州万兔斯瑞广告有限公司</title>
    <link rel="stylesheet" href="//cdn.bootcss.com/uikit/2.25.0/css/uikit.css"/>
</head>
<body>
@if($checkType === 'QICQ')
<center>
    <h1>QQ 屏蔽检测</h1>
    <h2 class="text-blue"><b>还有【{{$checkListWaitCount}}】个域名未检测，静等全部进入下一个循环</b></h2>
</center>
<hr>
@else
    <center>
        <h1>微信 屏蔽检测</h1>
        <h2 class="text-blue"><b>还有【{{$checkListWaitCount}}】个域名未检测，静等全部进入下一个循环</b></h2>
    </center>
    <hr>
    <h1>当前检测的域名：【@if(isset($res['domain'])) {{$res['domain']}} @else 查询异常，【{{$looptime}}】秒后重新检测 @endif】</h1>
    <h2>域名状态：@if($res['status'] == 2)
            <b class="uk-text-danger">域名被封</b>
        @elseif($res['status'] == 0 && $res['errmsg'] == '域名正常')
            <b class="uk-text-success">域名正常</b>
        @else
            <b class="uk-text-warning">查询超时，【{{$looptime}}】秒后重新检测</b>
        @endif</h2>
    {{--<h3>扫码授权剩余数量：<em class="uk-text-success">{{$res['count']}}</em>&nbsp;&nbsp;&nbsp;&nbsp;
        <span class="uk-text-danger">（授权低于10，速度会慢，也不稳定哦）</span>
        <a href="http://demo1.longjiehui.cn/5" target="_blank">点击扫一扫，添加授权</a></h3>--}}
    <h3 class="uk-text-muted">API到期时间：{{$res['endtime']}}</h3>
    <h4 class="uk-text-warning"><strong>等待【{{$looptime}}】秒开始检测下一个域名</strong></h4>
    <hr>
@endif
<h4 class="uk-text-muted">最新检测时间：{{date("Y/m/d H:i:s")}}</h4>
<hr>
<h1>推广域名监控：
    <span class="uk-h3">（总数：<b class="">{{$domainCount}} </b>&nbsp;&nbsp;
        正常：<b class="uk-text-success">{{$domainCount- count($blackList)}}</b>&nbsp;&nbsp;
        屏蔽：<b class="uk-text-danger">{{count($blackList)}}</b>）
    </span>
    <span class="uk-h3">接收检测结果手机号：<b class="uk-text-success">{{$mobile}}</b><b
                class="uk-text-danger">；被拦截有警报声</b></span>
</h1>
<hr>


@if(count($blackList) != 0)
    <h1> @if($checkType === 'QICQ') QQ @else 微信 @endif 域名屏蔽列表：</h1>
    <div class="">
        @foreach($blackList as $key =>$obj)
            {{$obj->username}}：<a href="@if(!stristr($obj->domain, "http"))
                    http://@endif{{$obj->domain}}" target="_blank">@if(!stristr($obj->domain, "http"))
                    http://@endif{{$obj->domain}}</a>&nbsp;&nbsp;
        @endforeach
        @endif
    </div>
    @if($playMusic)
        <audio src="/warning.ogg" controls="controls" autoplay="true">
        </audio>
    @endif
</body>
</html>
{{header("Refresh: ".$looptime)}}